package com.sh.线程的创建方式;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class 继承Thread extends  Thread {
    @Override
    public void run() {
        System.out.println("继承Thread类，重写run方法");
    }

    public static void main(String[] args) {
        继承Thread 继承Thread = new 继承Thread();
        继承Thread.start();
    }
}

